package com.dashan.servlets;

import static com.dashan.Constants.SESSIONID;
import static com.dashan.Constants.USERNAME;
import static com.dashan.servlets.Parameter.Option.Required;

import java.util.ArrayList;

@SuppressWarnings("serial")
public abstract class DashanPrivateServlet extends DashanServlet {

    @Override
    public ArrayList<Parameter> getParameterList() {
        ArrayList<Parameter> res = super.getParameterList();
        res.add(new Parameter(SESSIONID, Required, String.class, "Put \"0\" to test"));
        res.add(new Parameter(USERNAME, Required, String.class));
        return res;
    }
}
